package com.easyj.admin.db.mapper;

import com.easyj.admin.db.model.Role;
import java.util.List;

public interface RoleMapper {
    long countByExample(Role example);

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    List<Role> selectByExample(Role example);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Role selectUniqueByUqCode(String code);

    Role selectUniqueByUqName(String name);
}